// 收款账户管理
export const PageListThead = [
  {
    type: 'selection',
    width: 60,
    align: 'center'
  },
  {
    title: '账号名称',
    key: 'accountName',
    minWidth: 240
  },
  {
    title: '开户行',
    key: 'bankName',
    minWidth: 150
  },
  {
    title: '银行账户',
    key: 'accountNo',
    minWidth: 150
  },
  {
    title: '入库方式',
    key: 'inWay',
    minWidth: 150
  },
  {
    title: '创建人',
    key: 'createName',
    minWidth: 150
  },
  {
    title: '创建时间',
    key: 'createTime',
    minWidth: 150,
    render: (h, params) => {
      const text = params.row.createTime ? params.row.createTime.slice(0, 10) : ''
      return h('span', text)
    }
  },
  {
    title: '状态',
    key: 'status',
    minWidth: 150,
    render: (h, params) => {
      const text = params.row.status == 0 ? '禁用' : '启用'
      return h('span', text)
    }
  },
  {
    title: '操作',
    width: 240,
    align: 'center',
    key: 'action',
    slot: 'action',
    fixed: 'right'
  }
]
